package com.itbaizhan.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * @author spf
 * @date 2024/3/6
 * @time 14:09
 */
@Configuration
public class LoginRedisConfig extends RedisCacheConfiguration{
    @Override
    @Bean
    protected RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory redisConnectionFactory) {
        return super.redisTemplate(redisConnectionFactory);
    }
}
